package com.example.test2.db.entity;

import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
//本地新闻
public class  New implements Serializable {

    private static final long serialVersionUID = -3206065828593806735L;
    @Id(autoincrement = true)//设置自增长
    private Long id;
    private String author;
    private String oneTitle;
    private String twoTitle;
    private String type;
    private String path;
    private String content;
    private String date;


    @Generated(hash = 88458928)
    public New(Long id, String author, String oneTitle, String twoTitle,
               String type, String path, String content, String date) {
        this.id = id;
        this.author = author;
        this.oneTitle = oneTitle;
        this.twoTitle = twoTitle;
        this.type = type;
        this.path = path;
        this.content = content;
        this.date = date;
    }
    @Generated(hash = 19456684)
    public New() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getOneTitle() {
        return this.oneTitle;
    }
    public void setOneTitle(String oneTitle) {
        this.oneTitle = oneTitle;
    }
    public String getTwoTitle() {
        return this.twoTitle;
    }
    public void setTwoTitle(String twoTitle) {
        this.twoTitle = twoTitle;
    }
    public String getType() {
        return this.type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public String getPath() {
        return this.path;
    }
    public void setPath(String path) {
        this.path = path;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getDate() {
        return this.date;
    }
    public void setDate(String date) {
        this.date = date;
    }
    public String getAuthor() {
        return this.author;
    }
    public void setAuthor(String author) {
        this.author = author;
    }

}
